package com.waimai1.waimai;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import java.security.Security;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@MapperScan("com.waimai1.waimai.dao")
@SpringBootApplication
@ServletComponentScan
//@EnableTransactionManagement
public class WaimaiApplication {

    public static void main(String[] args) {
        SpringApplication.run(WaimaiApplication.class, args);
        Security.setProperty("crypto.policy", "unlimited");
    }
}
